//
//  PickNum7lcViewController.h
//  PlayBall
//
//  Created by Sun Fanglei on 13-3-27.
//
//

#import "JddBaseViewController.h"
#import "JddIndexListView.h"
#import "JddQueryDigitalLotteryIssueOperation.h"
#import "JddLotteryIssue.h"
#import <AVFoundation/AVFoundation.h>
#import "JddRandomSelectNumView.h"

@interface JddPickNum7lcViewController : JddBaseViewController<IndexListViewDelegate,UIAccelerometerDelegate,QueryDigitalLotteryIssueOperationDelegate,UITabBarDelegate,UIAlertViewDelegate,RandomSelectNumViewDelegate>{
    @private
    NSTimer      *countDownTimer;
    NSDate       *endTime;
    NSDate       *currentTime;
    JddShuangSeQiuNumber *lotteryNumber;
//    JddRandomSelectNumView *randomSelectNumberDialog;
    NSMutableArray *lotteryNumberArray;
    JddIndexListView *indexList;
    BOOL sharked;

    NSInteger sharkCount;
}

SHARED_VIEW_CONTROLLER_DECLARE(JddPickNum7lcViewController);

@property (strong, nonatomic) IBOutlet UILabel *issueLabel;
@property (strong, nonatomic) IBOutlet UILabel *endTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel *countLabel;
@property (strong, nonatomic) IBOutlet UILabel *moneyLabel;

@property (strong, nonatomic) JddLotteryIssue *currentLotteryIssue;

- (IBAction)clearBtn:(id)sender;
- (IBAction)randomBtn:(id)sender;
- (IBAction)doneBtn:(id)sender;

- (IBAction)numberBtn:(id)sender;

- (void)destoryView;
- (void)countDownTime:(NSTimer*)thisTimer;
//- (void)vibrate;

@end
